package com.suke.czx.modules.wxadmin.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.suke.czx.modules.wxadmin.dao.DkMsgContentDao;
import com.suke.czx.modules.wxadmin.entity.DkMsgContentEntity;
import com.suke.czx.modules.wxadmin.service.DkMsgContentService;



@Service("dkMsgContentService")
public class DkMsgContentServiceImpl implements DkMsgContentService {
	@Autowired
	private DkMsgContentDao dkMsgContentDao;
	
	@Override
	public DkMsgContentEntity queryObject(Integer id){
		return dkMsgContentDao.queryObject(id);
	}
	
	@Override
	public List<DkMsgContentEntity> queryList(Map<String, Object> map){
		return dkMsgContentDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dkMsgContentDao.queryTotal(map);
	}
	
	@Override
	public void save(DkMsgContentEntity dkMsgContent){
		dkMsgContentDao.save(dkMsgContent);
	}
	
	@Override
	public void update(DkMsgContentEntity dkMsgContent){
		dkMsgContentDao.update(dkMsgContent);
	}
	
	@Override
	public void delete(Integer id){
		dkMsgContentDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		dkMsgContentDao.deleteBatch(ids);
	}
	
}
